marcheggiani plate.tex (703B)
1 \begin{tikzpicture}[node distance=7mm] 2 \node[pdiag observed] (e) {\(\rndmvctr{e}\)}; 3 \node[pdiag latent, above=8mm of x] (r) {\(\rndm{r}\)}; 4 \node[pdiag observed, left=of r] (s) {\(\rndm{s}\)}; 5 \node[inner sep=1mm, above=5mm of s] (phi) {\(\vctr{\phi}\)}; 6 \node[inner sep=1mm, right=of e] (theta) {\(\vctr{\theta}\)}; 7 \draw[arrow] (r) -- (e); 8 \draw[arrow] (theta) -- (e); 9 \draw[arrow, dashed] (e) to[out=135, in=-135] (r); 10 \draw[arrow, dashed] (s) -- (r); 11 \draw[arrow, dashed] (phi) -- (r); 12 13 \coordinate (plspace) at ($(e.east) + (3mm, 0)$); 14 \node[pdiag plate, inner sep=1mm, fit=(e) (s) (r) (plspace)] (p) {}; 15 \node[anchor=south west] at (p.south west) {\(|\dataSet|\)}; 16 \end{tikzpicture}